API Documentation
MeshDecoder.h
1 // MeshDecoder.h
3 //
5 
6 namespace nkGraphics
7 {
12  {
13  public :
14 
22  virtual ~MeshDecoder () ;
23 
28  virtual bool canDecode (const nkMemory::StringView& sources) = 0 ;
36  virtual bool decode (const nkMemory::StringView& sources, Mesh* outMesh) = 0 ;
37  } ;
38 }
nkGraphics::MeshDecoder::MeshDecoder
MeshDecoder()
nkGraphics::MeshDecoder::decode
virtual bool decode(const nkMemory::StringView &sources, Mesh *outMesh)=0
nkMemory::StringView
Class holding information about a string, with no ownership over the data.
Definition: StringView.h:22
nkGraphics::MeshDecoder::~MeshDecoder
virtual ~MeshDecoder()
nkGraphics::MeshDecoder
Base class for a mesh data decoder.
Definition: MeshDecoder.h:12
nkGraphics
Encompasses all API of component NilkinsGraphics.
Definition: BoundingBox.h:7
nkGraphics::Mesh
Holds information about a mesh. Used as a basis to render 3d models.
Definition: Mesh.h:15
nkGraphics::MeshDecoder::canDecode
virtual bool canDecode(const nkMemory::StringView &sources)=0